﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MedicalLog.Domain.Entities.Insurance>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Detail
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="header">
        <h2>Agregar un nuevo Seguro</h2>
    </div>
    <% using (Html.BeginForm())
       { %>
       <%= Html.ValidationSummary(true) %>
    <div id="main">
        <fieldset class="main-style">
            <table>
                <tbody>
                    <tr>
                        <td class="display-label">
                            Nombre Compañia:
                        </td>
                        <td class="display-field">
                            <%= Html.TextBoxFor(model => model.InsuranceCompany) %>
                        </td>
                    </tr>
                </tbody>
            </table>
        </fieldset>
    </div>
    <div class="footer">
        <h4>
            Acciones</h4>
        <fieldset class="main-style2">
            <p>
                <input type="submit" value="Insertar Seguro" />
            </p>
            <%: Html.ActionLink("Regresar a la página principal", "SearchPatient", "Patient")%>
        </fieldset>
    </div>
    <% } %>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
